package com.vsct.maia.auditl.dto;

import java.util.Date;

import org.joda.time.LocalDateTime;

/**
 * Point de la courbe pour un service
 * @author eric_karangwa
 *
 */
public class DatedExecTime {
	
	/**
	 * Abscisse
	 */
	private long datetime;
	/**
	 * Ordonnée
	 */
	private int execTime;
	
	public DatedExecTime(long datetime, int execTime) {
		super();
		this.datetime = datetime;
		this.execTime = execTime;
	}

	public long getDateTime() {
		return datetime;
	}

	public int getExecTime() {
		return execTime;
	}
	
	@Override
	public String toString() {
		StringBuilder str = new StringBuilder();
			str.append("x:").append(datetime).append(",");
			str.append("y:").append(execTime).append("");	
		
		return str.toString();
	}
}
